package org.codingq92.frame.spring.clazz;

import org.codingq92.frame.spring.ann.CusAutowired;
import org.codingq92.frame.spring.ann.CusComponent;
import org.codingq92.frame.spring.ann.CusPostConstruct;
import org.springframework.stereotype.Component;

@Component
@CusComponent(name = "sonClass")
public class SonClass {

    @CusAutowired
    private FatherClass fatherClass;

    @CusPostConstruct
    public void print() {
        System.out.println("SonClass>> 属性>>>" + fatherClass);
    }
}
